package cn.jsu.oj.dispatchServer.satellite.handler.patrol.hard;

import java.io.Serializable;

/**
 * 网络
 *
 * @author shan
 * @date 2022/07/04
 */
public class Net implements Serializable {
    
    private Long recPackNum;
    private Long senPackNum;
    private Long recByteNum;
    private Long senByteNum;
    private Long recErrPackNum;
    private Long senErrPackNum;
    private Long recDropNum;
    private Long senDropNum;

    public Net() {
    }

    public Net(Long recPackNum, Long senPackNum, Long recByteNum, Long senByteNum, 
               Long recErrPackNum, Long senErrPackNum, Long recDropNum, Long senDropNum) {
        this.recPackNum = recPackNum;
        this.senPackNum = senPackNum;
        this.recByteNum = recByteNum;
        this.senByteNum = senByteNum;
        this.recErrPackNum = recErrPackNum;
        this.senErrPackNum = senErrPackNum;
        this.recDropNum = recDropNum;
        this.senDropNum = senDropNum;
    }

    public Long getRecPackNum() {
        return recPackNum;
    }

    public void setRecPackNum(Long recPackNum) {
        this.recPackNum = recPackNum;
    }

    public Long getSenPackNum() {
        return senPackNum;
    }

    public void setSenPackNum(Long senPackNum) {
        this.senPackNum = senPackNum;
    }

    public Long getRecByteNum() {
        return recByteNum;
    }

    public void setRecByteNum(Long recByteNum) {
        this.recByteNum = recByteNum;
    }

    public Long getSenByteNum() {
        return senByteNum;
    }

    public void setSenByteNum(Long senByteNum) {
        this.senByteNum = senByteNum;
    }

    public Long getRecErrPackNum() {
        return recErrPackNum;
    }

    public void setRecErrPackNum(Long recErrPackNum) {
        this.recErrPackNum = recErrPackNum;
    }

    public Long getSenErrPackNum() {
        return senErrPackNum;
    }

    public void setSenErrPackNum(Long senErrPackNum) {
        this.senErrPackNum = senErrPackNum;
    }

    public Long getRecDropNum() {
        return recDropNum;
    }

    public void setRecDropNum(Long recDropNum) {
        this.recDropNum = recDropNum;
    }

    public Long getSenDropNum() {
        return senDropNum;
    }

    public void setSenDropNum(Long senDropNum) {
        this.senDropNum = senDropNum;
    }

    @Override
    public String toString() {
        return "Net{" +
                "recPackNum=" + recPackNum +
                ", senPackNum=" + senPackNum +
                ", recByteNum=" + recByteNum +
                ", senByteNum=" + senByteNum +
                ", recErrPackNum=" + recErrPackNum +
                ", senErrPackNum=" + senErrPackNum +
                ", recDropNum=" + recDropNum +
                ", senDropNum=" + senDropNum +
                '}';
    }
}
